import { Component, OnInit } from '@angular/core';
import{ActivatedRoute,Params} from  '@angular/router';
@Component({
  selector: 'app-contractextractiondetail',
  templateUrl: './contractextractiondetail.component.html',
  styleUrls: ['./contractextractiondetail.component.css']
})
export class ContractextractiondetailComponent implements OnInit {
  projectName:any=null
  id:any=null
  constructor( private route: ActivatedRoute) { }

  ngOnInit(): void {
    // 接收传过来的项目名称 并渲染
    // this.route.queryParams.subscribe(Params => {
    //   this.projectName =Params.name
    // })
    let name = sessionStorage.getItem('name');
    this.projectName = name
}
  

}
